cmake_minimum_required(VERSION 3.10)
project(cpp_task_record)

set(CMAKE_CXX_STANDARD 17)

include_directories(include) # 添加include目录到头文件搜索路径

file(GLOB SOURCES "src/*.cpp") # 获取src目录下所有的.cpp文件

add_executable(cpp_task_record ${SOURCES}) # 使用所有的.cpp文件来构建可执行文件